package pl.com.sthaether.mc.engine;

import javafx.scene.Group;
import pl.com.sthaether.mc.engine.data.MCMapData;

public class MCMap {

    private final MCMapData data;
    private Group group;

    protected MCMap() {
        this(null);
    }

    protected MCMap(MCMapData data) {
        this.group = new Group();
        this.data = data != null ? data : new MCMapData(this.group);
    }

    public Group getGroup() {
        return group;
    }


    public MCMapData getData() {
        return data;
    }


}
